package ae.pcfc.cldos.online.web.controller.admin.general.inbox.notifications;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.support.SessionStatus;

import ae.pcfc.cldos.online.web.ViewPath;
import ae.pcfc.cldos.online.web.controller.base.BasePageController;

/**
 * A Controller For Admin Related Tasks (Task , Notifications etc)
 * @author ammar
 *
 */
@Controller
@RequestMapping(value = ViewPath.__ADMIN_NOTIFICTIONS)
public class AdminNotificationsController extends BasePageController {
	
	@ModelAttribute
	public void populateBreadCrumbs(ModelMap model){
		breadCrumbsFactoryService.populateNotificationsBreadCrumb(model);
	}
	
	@RequestMapping(value = "/form.htm", method = RequestMethod.GET)
	public void login() {
		

	}
	
	@RequestMapping(value = "/show.htm", method = RequestMethod.GET)
	public void show() {

	}
	
	@RequestMapping(method = RequestMethod.POST, value = "/form.htm")
	public String form(
			HttpServletRequest request,
			SessionStatus status,
			BindingResult errors) throws Exception {
		
		return "";
	}
	
}
